package com.lap.framework.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 审计抽象实现
 *
 * @author Shuisheng Lao(劳水生)
 * @version 1.0.0
 */
@Data
@NoArgsConstructor
@SuperBuilder
public abstract class AbstractAudit implements Audit, Serializable {

  @Schema(description = "创建人")
  private String createdBy;

  @Schema(description = "创建时间")
  private LocalDateTime createTime;

  @Schema(description = "最后更新人")
  private String updatedBy;

  @Schema(description = "最后更新时间")
  private LocalDateTime updateTime;
}
